package cn.qg.mapper.qgtrade;
import cn.qg.beans.pojo.QgTrade;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface QgTradeMapper {

	public QgTrade getQgTradeById(@Param(value = "id") Long id)throws Exception;

	public List<QgTrade>	getQgTradeListByMap(Map<String, Object> param)throws Exception;

	public Integer getQgTradeCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertQgTrade(QgTrade qgTrade)throws Exception;

	public Integer updateQgTrade(QgTrade qgTrade)throws Exception;

	public Integer deleteQgTradeById(@Param(value = "id") Long id)throws Exception;

}
